OrderNotificationForTelegramBot\App S

Total Complexity 27
Dependencies 7
Dependents 0
Total lines 179
Lines of code 118
Logical lines of code 70
Comment lines 0
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
run()
S
56 4 18
loadHooks()
S
66 2 8
checkForWooCommerce()
S
67 2 8
woocommerceNewOrderArrived()
S
64 2 10
woocommerceOrderStatusChanged()
S
65 2 8
sendTestMessage()
S
63 2 10
init()
S
73 1 5
getTemplate()
S
80 1 3
initTelegramBotHelper()
S
63 1 10
sendTgNotification()
S
73 1 5
loadHooksInAdmin()
S
72 1 5
adminLoadJsScripts()
S
77 1 3
noticeForInstallingWoocommerce()
S
79 1 3
showWooCommerceError()
S
70 1 6
addActionLinks()
S
78 1 3
defineMethods()
S
82 1 3
wooInstalled()
S
81 1 3
wooNotInstalled()
S
81 1 3
addWooCommerceSettingSection()
S
76 1 4